<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8" />
    <title>复选控件</title>
</head>

<body>
    <form action="#" method="get">
        <!-- 爱好:抽烟<input type="checkbox" name="hobby" value="1" checked>
        喝酒<input type="checkbox" name="hobby" value="2">
        烫头<input type="checkbox" name="hobby" value="3"> -->

        阅读并同意规范 <input type="checkbox" name="isAgree" value="1">

        <br>
        <input type="submit" value="提交数据">
    </form>
</body>

</html>